package com.example.sixgod;

import androidx.room.Entity;
import androidx.room.PrimaryKey;

@Entity(tableName = "guaxiang")
public class guaxiang {
    @PrimaryKey(autoGenerate = true)
    private int id;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String name;
    public String value;
    public String guan;

    @Override
    public String toString() {
        return "guaxiang{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", value='" + value + '\'' +
                ", guan='" + guan + '\'' +
                '}';
    }

    public guaxiang(String name, String value, String guan) {
        this.name = name;
        this.value = value;
        this.guan = guan;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getGuan() {
        return guan;
    }

    public void setGuan(String guan) {
        this.guan = guan;
    }
}
